package com.huel.bean;

import android.content.Intent;

import java.io.Serializable;

public class Goods implements Serializable {
    Integer id;
    String name ;
    double price;
    String pic;
    String details;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    public Goods() {
    }

    public Goods(Integer id, String name, double price, String pic, String details) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.pic = pic;
        this.details = details;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", pic='" + pic + '\'' +
                ", details='" + details + '\'' +
                '}';
    }
}


